home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 013 / xdir56.arc / XDIR.TXT next >
Encoding:
Text File  |  1984-12-03  |  48.5 KB  |  2,184 lines

  1. .PL66
  2. .MT0
  3. .MB0
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.                                 EXDIR
  21.                  Extended Diskette Directory Program
  22.                              Version 5.6
  23.  
  24.  
  25.  
  26.  
  27. April 23,1984
  28.  
  29.  
  30. Barry N. Shiffrin
  31.  
  32. Dept. F58/5M00
  33. IBM Endicott, NY  13760
  34. VNET GDLPD(SHIFFRIN)
  35.  
  36. Home address:
  37. 2309 Acorn Dr.
  38. Vestal, NY  13850
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69. è
  70.  
  71.  
  72.                  XDIR VERSION 5.6         Page     ii
  73.  
  74.  
  75.                                ABSTRACT
  76.  
  77.  
  78.  
  79.      Thi≤á manua∞á describe≤ thσ operatioε oµ thσ XDI╥á prograφá whicΦ ì
  80. wil∞á aiΣá yo⌡á iεá keepinτ tracδ oµ thσ program≤ whicΦá arσá oεá you≥ ì
  81. diskettes.
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. ABSTRACT                                                  ii
  131.  
  132.  
  133.  
  134. è
  135.  
  136.  
  137.                  XDIR VERSION 5.6         Page    iii
  138.  
  139.  
  140.                                PREFACE
  141.  
  142.  
  143.  
  144.      Havσ yo⌡ eve≥ los⌠ tracδ oµ whicΦ diskettσ containeΣ ß particula≥ ì
  145. file┐á  D∩ yo⌡ spenΣ ß lo⌠ oµ timσ searchinτ fo≥ file≤ anΣ als∩ fo≥á ß ì
  146. diskettσ witΦ enougΦ rooφ t∩ storσ ß particula≥ ne≈ program┐  Iµ thesσ ì
  147. problem≤á arσ affectinτ you¼á theε thi≤ prograφ shoulΣ makσ you≥á worδ ì
  148. mucΦ easier.
  149.  
  150.      XDI╥á wil∞á reaΣá thσ director∙ informatioεá directl∙á froφá you≥ ì
  151. diskette≤ anΣ kee≡ thesσ entrie≤ iε ß separatσ filσ listeΣ unde≥ aε I─ ì
  152. whicΦ yo⌡ assigε t∩ you≥ diskette«  Ideall∙ thi≤ I─ wil∞ bσ writteε oε ì
  153. thσ labe∞ oµ thσ diskettσ itself«á  Iε thσ future¼á a≤ thσ content≤ oµ ì
  154. you≥ diskette≤ changσ yo⌡ ma∙ deletσ o≥ adΣ thei≥ filσ content≤ t∩ thσ ì
  155. maste≥ filσ from XDIR.
  156.  
  157.      XDI╥á als∩á allow≤ yo⌡ t∩ ente≥ ß commen⌠ fielΣ fo≥ eacΦ filσá t∩ ì
  158. allo≈ yo⌡ t∩ kee≡ tracδ oµ anythinτ yo⌡ wisΦ abou⌠ eacΦ file.
  159.  
  160.      Thi≤ informatioε i≤ entereΣ througΦ aε edito≥ includeΣ a≤ onσá oµ ì
  161. thσ men⌡ options.
  162.  
  163.      Yo⌡ ma∙ wisΦ t∩ maintaiε separatσ file≤ oµ certaiε group≤ oµ you≥ ì
  164. diskettes«á  Fo≥ example¼ yo⌡ ma∙ wisΦ t∩ havσ separatσ file≤ fo≥ you≥ ì
  165. financia∞á programs¼á you≥á gamσ programs¼á anΣ you≥á worΣá processinτ ì
  166. program≤ anΣ files.
  167.  
  168.      XDI╥á allow≤ yo⌡ t∩ selec⌠ ß subse⌠ oµ thσ maste≥ filσ anΣ eithe≥ ì
  169. displa∙á i⌠ oε thσ screeε o≥ prin⌠ i⌠ out«á  Thi≤ woulΣ allo≈á yo⌡á t∩ ì
  170. havσ ß separatσ printou⌠ fo≥ you≥ basiπ programs¼á you≥ OB╩ files¼ anΣ ì
  171. perhap≤ you≥ EX┼ files«á  Thσ prograφ allow≤ grea⌠ flexibilit∙ iε thi≤ ì
  172. regard.
  173.  
  174.      I⌠á i≤á als∩ importan⌠ t∩ bσ ablσ t∩ finΣ ß diskettσ witΦá enougΦ ì
  175. rooφá t∩ bσ ablσ t∩ storσ ß ne≈ prograφ yo⌡ ma∙á havσá written«á  XDI╥ ì
  176. calculate≤á thσ amoun⌠ oµ freσ spacσ lef⌠ oε ß diskettσ anΣ wil∞á givσ ì
  177. yo⌡á ß printou⌠ oµ al∞ you≥ diskette≤ anΣ thσ amoun⌠ oµ spacσ lef⌠á oε ì
  178. each.
  179.  
  180.      FixeΣá disk≤ arσ als∩ supporteΣ anΣ thσ commen⌠ fielΣ i≤ useΣá t∩ ì
  181. sho≈ thσ completσ patΦ namσ t∩ thσ file.
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195. PREFACE                                                  iii
  196.  
  197.  
  198.  
  199. è
  200.  
  201.  
  202.                  XDIR VERSION 5.6         Page     iv
  203.  
  204.  
  205. GETable Of Contents
  206.  
  207.  
  208. HFG  HARDWARE REQUIREMENTS................................... 2
  209.  
  210. HG  CHANGES FOR VERSION 5.6................................. 3
  211.  
  212. HG  CHANGES FOR VERSION 5.5................................. 4
  213.  
  214. HG  CHANGES FOR VERSION 5.4................................. 5
  215.  
  216. HG  CHANGES FOR VERSION 5.3................................. 6
  217.  
  218. HG  CHANGES FOR VERSION 5.2................................. 7
  219.  
  220. HG  CHANGES FOR VERSION 5.1................................. 8
  221.  
  222. HG  CHANGES FOR VERSION 5.0................................. 9
  223.  
  224. HG  GENERAL INFORMATION.................................... 10
  225.  
  226. HG  HOW TO USE THE PROGRAM................................. 11
  227. H    GETTING STARTED...................................... 11
  228.  
  229. G  HOW TO OPERATE - MAIN MENU............................. 12
  230. H    1. CREATE FILE....................................... 12
  231.     2. READ IN FILE FROM DISKETTE........................ 12
  232.     3. WRITE FILE TO DISK................................ 13
  233.     4. CHANGE MASTER FILE NAME........................... 13
  234.     5. DELETE DISKID FROM FILE........................... 13
  235.     6. EDIT COMMENT FIELDS............................... 13
  236.     7. REPLACE/ADD DISKETTE.............................. 14
  237.     8. SORT OPTIONS...................................... 14
  238.     9. DISPLAY OPTIONS................................... 14
  239.     A. MISCELLANEOUS OPTIONS............................. 14
  240.     D. EXECUTE DOS COMMANDS.............................. 15
  241.     H. PROCESS FIXED DISK FILE........................... 15
  242.     ESC.................................................. 16
  243.  
  244. G  HOW TO OPERATE - SORT MENU............................. 17
  245. H    1. SORT BY FILENAME,SIZE,DATE,ID..................... 17
  246.     2. SORT BY FILE EXTENSION,FILE NAME,SIZE,DATE,ID..... 17
  247.     3. SORT BY DISKID THEN FILENAME...................... 17
  248.     4. SORT BY LAST DATE MODIFIED........................ 17
  249.     5. SORT ON COMMENT FIELD............................. 17
  250.     6. SORT DISKETTE SPACE SUMMARY....................... 18
  251.     9. DISPLAY OPTIONS................................... 18
  252.     A. MISCELLANEOUS OPTIONS............................. 18
  253.     ESC.................................................. 18
  254.  
  255. G  HOW TO OPERATE - DISPLAY MENU.......................... 19
  256. H    1. DISPLAY RECORDS................................... 19
  257.  
  258.  
  259.  
  260.  
  261.  
  262. Table Of Contents                                         iv
  263.  
  264.  
  265.  
  266.                 XDIR VERSION 5.6 Page      v
  267.  
  268.  
  269. GETable Of Contents
  270.  
  271. HF    2. PRINT RECORDS..................................... 19
  272.     3. DISPLAY DISKETTE SPACE SUMMARY.................... 19
  273.     4. PRINT DISKETTE SPACE SUMMARY...................... 19
  274.     5. PRINT DISKETTE INSERTS............................ 20
  275.     6. CHANGE LINES PER PAGE............................. 20
  276.     7. PRINT DISKETTE LABELS............................. 20
  277.     0. CHANGE LABEL SPACING.............................. 21
  278.     8. SORT OPTIONS...................................... 21
  279.     A. MISCELLANEOUS OPTIONS............................. 21
  280.     C. WRITE CONTENTS FILE............................... 21
  281.     ESC.................................................. 21
  282.  
  283. G  HOW TO OPERATE - MISCELLANEOUS OPTIONS MENU............ 22
  284. H    1. DISPLAY MASTER FILES ON DEFAULT DISKETTE.......... 22
  285.     2. LABEL A DISKETTE.................................. 22
  286.     3. CHECK LABEL WITH RENAME OPTION.................... 22
  287.     4. CHANGE CATALOGING DRIVE........................... 22
  288.  
  289. G  HOW TO OPERATE - CREATE MENU........................... 23
  290. H    F1. REDRAW SCREEN.................................... 23
  291.     F2. TOGGLE DISKID LABELLING MODE..................... 23
  292.     ESC.................................................. 23
  293.  
  294. G  REFERENCE MATERIAL..................................... 25
  295. H    SPECIFYING SUBSET WHEN READING FROM FILE............. 25
  296.     EXPLANATION OF EDITOR COMMANDS....................... 25
  297.       (up arrow)......................................... 26
  298.       (down arrow)....................................... 26
  299.       (right arrow)...................................... 26
  300.       (left arrow)....................................... 26
  301.       (TAB Key).......................................... 26
  302.       (S-TAB)............................................ 26
  303.       PgUp............................................... 27
  304.       PgDn............................................... 27
  305.       ENTER.............................................. 27
  306.       Alt-C.............................................. 27
  307.       Esc................................................ 27
  308.       C-PgUp............................................. 27
  309.       C-PgDn............................................. 28
  310.       BKSPC.............................................. 28
  311.       Del................................................ 28
  312.       Ins................................................ 28
  313.       Alt-S.............................................. 28
  314.       Home............................................... 28
  315.       End................................................ 29
  316.       Alt-T.............................................. 29
  317.       Alt-X.............................................. 29
  318.     USING PC-FILE WITH XDIR DATA FILES................... 29
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326. Table Of Contents                                          v
  327.  
  328.  
  329.  
  330.                 XDIR VERSION 5.6 Page      1
  331.  
  332.  
  333. GE-HARDWARE REQUIREMENTSHF-
  334.  
  335.  
  336.  
  337. L 0xxⁿⁿⁿⁿxx0   At least 96KB of memory.  A G96KB Hmachine will be able to
  338.     read in about 250 records while a G128KB Hmachine can
  339.     handle about 750.  It will take a machine with greater
  340.     than about 135K to get the full 800 record capacity of
  341.     XDIR.
  342.  
  343. L 0xxⁿⁿⁿⁿxx0   2 diskette drives - either electronic or floppy.  Please
  344.     do not try this program with only 1 drive as data may be
  345.     lost on your diskettes.
  346.  
  347. L 0xxⁿⁿⁿⁿxx0   80 column display (may be attached to either display
  348.     adapter)
  349.  
  350. L 0xxⁿⁿⁿⁿxx0   The IBM 80cps printer (or equivalent) will enhance the
  351.     operation.  The label creating option will only work on
  352.     the IBM graphics printer or an Epson printer with
  353.     Graftrax+.
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390. HARDWARE REQUIREMENTS                                      1
  391.  
  392.  
  393.  
  394.                 XDIR VERSION 5.6 Page      2
  395.  
  396.  
  397. GE-CHANGES FOR VERSION 5.6HF-
  398.  
  399.  
  400.  
  401. L 0xxⁿⁿⁿⁿxx0   Fixed a bug that prevented the "delete diskid" option
  402.     from working properly.
  403.  
  404. L 0xxⁿⁿⁿⁿxx0   Streamlined the code in many places removing redundant
  405.     code and rewording many messages to make more sense.
  406.  
  407. L 0xxⁿⁿⁿⁿxx0   Added "Esc" options to many places to make it easier for
  408.     you to change your mind when executing certain long
  409.     options.
  410.  
  411. L 0xxⁿⁿⁿⁿxx0   Compiled using the new version 2.1 small model C86
  412.     compiler for better optimization.  Used some of the
  413.     built-in system functions instead of my own code.  This
  414.     resulted in some increase in code size but smaller data
  415.     segment size.
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454. CHANGES FOR VERSION 5.6                                    2
  455.  
  456.  
  457.  
  458.                 XDIR VERSION 5.6 Page      3
  459.  
  460.  
  461. GE-CHANGES FOR VERSION 5.5HF-
  462.  
  463.  
  464.  
  465. L 0xxⁿⁿⁿⁿxx0   I fixed a bug in the Replace/Add option which occurred
  466.     when there was now a label on a diskette when the
  467.     earlier version did not have this label.  Duplicate file
  468.     names resulted.
  469.  
  470. L 0xxⁿⁿⁿⁿxx0   I have recompiled XDIR using the version 2.00A C86
  471.     compiler using the small memory model.  This has
  472.     resulted in a reduction of the code by about 13% and an
  473.     increase in speed of between 30 and 35%.  I will
  474.     eventually use the C86 big memory model, but at this
  475.     time, the version we have does not work.  This big
  476.     memory model should increase the size of the internal
  477.     array that XDIR will be able to handle.
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518. CHANGES FOR VERSION 5.5                                    3
  519.  
  520.  
  521.  
  522.                 XDIR VERSION 5.6 Page      4
  523.  
  524.  
  525. GE-CHANGES FOR VERSION 5.4HF-
  526.  
  527.  
  528.  
  529. L 0xxⁿⁿⁿⁿxx0   The logo now displays at invocation on the main panel
  530.     and disappears after the first keystroke.
  531.  
  532. L 0xxⁿⁿⁿⁿxx0   In an earlier version, I began including hidden files.
  533.     This was working only for the create option.  The
  534.     add/replace option was throwing them away.  This has now
  535.     been fixed.
  536.  
  537. L 0xxⁿⁿⁿⁿxx0   The diskid is now included in the data file.  If this
  538.     had been a DOS 2.0 label it had been ignored as far as
  539.     being a file on the disk.  It now shouldn't matter if it
  540.     is a DOS 2.0 label or just a fname.LBL file, it will
  541.     still show up in the data file.
  542.  
  543. L 0xxⁿⁿⁿⁿxx0   I wasn't blanking out the diskid field when displaying a
  544.     new one in the create option.  This showed up as garbage
  545.     when displaying a label which is shorter than the
  546.     previous one.
  547.  
  548. L 0xxⁿⁿⁿⁿxx0   I was resetting the graphics color burst a long time ago
  549.     but it didn't accomplish the desired effect.  I have
  550.     removed that code with this release.
  551.  
  552. L 0xxⁿⁿⁿⁿxx0   I added a new option to the editing menu.  It will allow
  553.     you to delete a record from your file when writing out
  554.     the file the next time.  This is implemented as a toggle
  555.     to allow changing your mind before actually doing the
  556.     write.
  557.  
  558. L 0xxⁿⁿⁿⁿxx0   I think I have fixed all the bugs that caused the "space
  559.     available" to be printed incorrectly on inserts and
  560.     labels.  If you have any problems in this area, please
  561.     let me know.
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582. CHANGES FOR VERSION 5.4                                    4
  583.  
  584.  
  585.  
  586.                 XDIR VERSION 5.6 Page      5
  587.  
  588.  
  589. GE-CHANGES FOR VERSION 5.3HF-
  590.  
  591.  
  592.  
  593. L 0xxⁿⁿⁿⁿxx0   If you left off the /V option when running CHKDSK, the
  594.     file for the fixed disk wouldn't have the right
  595.     information in it and the program would hang.  I now
  596.     detect that situation and give an appropriate message.
  597.  
  598. L 0xxⁿⁿⁿⁿxx0   I found the bug which affected some people who had been
  599.     using XDIR on their fixed disks in a manual fashion.  If
  600.     a file was larger than 999,999 bytes, the XDIR data file
  601.     would be written incorrectly causing unpredictable
  602.     behavior later on.  I now detect if your files are
  603.     larger than this limit and set the size in the XDIR data
  604.     file to 999,999.
  605.  
  606. L 0xxⁿⁿⁿⁿxx0   For the fixed disk file processing, I put the path into
  607.     the comment field.  In certain cases where you had a
  608.     file name with the same name as the subdirectory, the
  609.     path name shown in the comment field was truncated.
  610.     This is now fixed.
  611.  
  612. L 0xxⁿⁿⁿⁿxx0   An easier description of how to use CHKDSK to create the
  613.     file for the fixed disk processing.
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646. CHANGES FOR VERSION 5.3                                    5
  647.  
  648.  
  649.  
  650.                 XDIR VERSION 5.6 Page      6
  651.  
  652.  
  653. GE-CHANGES FOR VERSION 5.2HF-
  654.  
  655.  
  656.  
  657. L 0xxⁿⁿⁿⁿxx0   When printing diskette inserts I wasn't resetting the
  658.     printer to its normal state when finished.  If you had
  659.     used the Esc key to exit, I did reset it.  It is now
  660.     reset in both cases.
  661.  
  662. L 0xxⁿⁿⁿⁿxx0   Hidden Files are now included in the diskette
  663.     cataloging.
  664.  
  665. L 0xxⁿⁿⁿⁿxx0   I have added fixed disk support through an option on the
  666.     main menu.  See the details under that option for more
  667.     information.
  668.  
  669. L 0xxⁿⁿⁿⁿxx0   My old versions of XDIR (pre DOS 2.0) actually created a
  670.     label on the diskette with the volume ID as the filename
  671.     and LBL as the extension.  My intention in the DOS 2.0
  672.     versions of XDIR was to create the same kind of label so
  673.     that if you label a disk and then use it under DOS 1.1
  674.     the label would show up the way it used to.  I had an
  675.     error in the label rename option, but now it will change
  676.     the extension of the label file to LBL the way it was
  677.     intended.
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710. CHANGES FOR VERSION 5.2                                    6
  711.  
  712.  
  713.  
  714.                 XDIR VERSION 5.6 Page      7
  715.  
  716.  
  717. GE-CHANGES FOR VERSION 5.1HF-
  718.  
  719.  
  720.  
  721. L 0xxⁿⁿⁿⁿxx0   Fixed bug that caused selection of a subset to be done
  722.     incorrectly.  The first character of the file extension
  723.     was never checked causing an *.BAS selection to also
  724.     read in *.PAS, etc.
  725.  
  726. L 0xxⁿⁿⁿⁿxx0   Added the DOS command option which allows DOS commands
  727.     to be executed under XDIR.  I would like to thank Tony
  728.     Drumm for providing the code for this.  You must have
  729.     enough memory to run this and your DOS 2.0 COMMAND.COM
  730.     must have a patch applied which has been provided by
  731.     Boca and is included as Figure  1  on page 15.  Please
  732.     note that this patch is not needed with DOS 2.1.
  733.  
  734. L 0xxⁿⁿⁿⁿxx0   Added a subroutine in ASSEMBLER to replace a chunk of my
  735.     code which saved about 2700 bytes of EXE file.
  736.  
  737. L 0xxⁿⁿⁿⁿxx0   fixed the bug which caused REPLACE with diskids less
  738.     than 8 characters to always be treated as an ADD.
  739.  
  740. L 0xxⁿⁿⁿⁿxx0   I have added documentation on how to use PC-FILE with
  741.     XDIR data files.  This information is included in "USING
  742.     PC-FILE WITH XDIR DATA FILES" on page 29.
  743.  
  744. L 0xxⁿⁿⁿⁿxx0   Fixed a bug that occurred when trying to use the "leave
  745.     drive door open and enter dummy label" feature.  This
  746.     should now work correctly.
  747.  
  748. L 0xxⁿⁿⁿⁿxx0   Fixed a bug that caused the "space available" on the
  749.     printout of files to be incorrectly displayed when your
  750.     diskid was less than 8 characters.
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774. CHANGES FOR VERSION 5.1                                    7
  775.  
  776.  
  777.  
  778.                 XDIR VERSION 5.6 Page      8
  779.  
  780.  
  781. GE-CHANGES FOR VERSION 5.0HF-
  782.  
  783.  
  784.  
  785. L 0xxⁿⁿⁿⁿxx0   First, let me say that this version is for GDOS 2.0 -only
  786. -    H.  The program will check the DOS version you are
  787.     running with and exit if it is not at least 2.0.
  788.     Version 4.7 of XDIR is the last version of XDIR that
  789.     will work with DOS 1.1.
  790.  
  791. L 0xxⁿⁿⁿⁿxx0   This version will use the DOS 2.0 volume labels.  In the
  792.     create mode, the program will first check for the volume
  793.     label, if none is found it will then look for a file
  794.     with an extension of LBL.  When disks are labeled, the
  795.     program will now create volume labels.  This means that
  796.     you can use XDIR to add volume labels to disks which
  797.     will then be read by other DOS programs like CHKDSK or
  798.     DIR.  My program will also rename the volume label which
  799.     is something you cannot do under DOS 2.0.
  800.  
  801. L 0xxⁿⁿⁿⁿxx0   A little more space is available for the internal array
  802.     of records.  This was due to using some of the newer
  803.     built-in DOS 2.0 functions.  When the optimizing version
  804.     of C86 is released (if ever) more space should be
  805.     available.  Stay tuned for a future version.
  806.  
  807. L 0xxⁿⁿⁿⁿxx0   Due to a bug in DOS 2.0, I cannot delete the volume
  808.     label.  The option on the miscellaneous screen has been
  809.     changed to "check label/rename option."
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838. CHANGES FOR VERSION 5.0                                    8
  839.  
  840.  
  841.  
  842.                 XDIR VERSION 5.6 Page      9
  843.  
  844.  
  845. GE-GENERAL INFORMATIONHF-
  846.  
  847.  
  848.  
  849. After loading the program you will see a menu.  All
  850. operations are performed by selecting options from this
  851. menu.  You only have to type the number of the option you
  852. wish to invoke.  In this program you will not have to press
  853. the enter key for any single character responses.  The
  854. details of the menu operations will be covered in the next
  855. section.
  856.  
  857. The program uses 2 files to store the data you are using.
  858. One of these files is the data file which contains the list
  859. of directory entries read from your disks and the other file
  860. is the space file which contains the amount of space left on
  861. each of the disks which you entered.  The program will
  862. automatically check how much memory you have installed and
  863. adapt itself accordingly.
  864.  
  865. When you invoke the program you should specify the filename
  866. you wish to use.  This filename is the first part of the
  867. name used by the program.  For example, if you had entered
  868. GXDIR XYZ Hto invoke the program, then the 2 files the program
  869. will be using will be GXYZ.DAT Hand GXYZ.SP H.  This filename
  870. can be changed with one of the menu options.
  871.  
  872. The program will detect if you are using double-sided
  873. diskettes and read in the extended directory and calculate
  874. the space remaining automatically.
  875.  
  876. As another user-friendly feature the menus will indicate how
  877. the data in storage has been sorted.  It will also tell how
  878. many records are currently in storage and the name of the
  879. master file you are using.
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902. GENERAL INFORMATION                                        9
  903.  
  904.  
  905.  
  906.                 XDIR VERSION 5.6 Page     10
  907.  
  908.  
  909. GE-HOW TO USE THE PROGRAMHF-
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916. GEGETTING STARTEDHF
  917.  
  918.  
  919. Make sure your A drive is the default drive by entering A:
  920. as a command to DOS.  Then insert the program diskette into
  921. the A drive and enter the command GXDIR fname Hwhere fname is
  922. the filename you wish to use as explained earlier.  If you
  923. forget to enter the fname parameter, the program will prompt
  924. you for one.  After the program is loaded, the main menu
  925. will be displayed along with the version number, etc.  This
  926. "logo" will disappear after the first keystroke.
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966. HOW TO USE THE PROGRAM                                    10
  967.  
  968.  
  969.  
  970.                 XDIR VERSION 5.6 Page     11
  971.  
  972.  
  973. GE-HOW TO OPERATE - MAIN MENUHF-
  974.  
  975.  
  976.  
  977. This section will cover the various options you will see on
  978. the main menu.
  979.  
  980.  
  981.  
  982. GE1. CREATE FILEHF
  983.  
  984.  
  985. This is the option you choose to create the file on the
  986. disk.  Normally, this option is only run once as it will
  987. erase any master files with the same name.  This will
  988. probably be the first one you would choose the first time
  989. you run the program.  It will erase the file on disk if it
  990. exists and then allow you to put the diskettes into your
  991. cataloging drive one at a time and type in an ID for each
  992. one.  You should be sure to write this ID on the diskette
  993. label for future reference.  The ID field can be up to 8
  994. characters of your choice as long as there no embedded
  995. blanks.  Please note that this information is written
  996. directly to disk, nothing is left in memory when you have
  997. finished.  To complete this option, just press the GEsc Hkey.
  998. If you wish, you may pre-label your diskettes with a DOS 2.0
  999. volume label or put a file on your diskette with the diskid
  1000. as the filename and GLBL Has the extension.  The Create option
  1001. will look for this volume label or file and use the first 8
  1002. characters of the volume label or the filename as the diskid
  1003. for this diskette.  If it does not find such a volume label
  1004. or file, you will be prompted for the diskid.  "HOW TO
  1005. OPERATE - CREATE MENU" on page 23 contains more information
  1006. on the CREATE option.
  1007.  
  1008.  
  1009.  
  1010. GE2. READ IN FILE FROM DISKETTEHF
  1011.  
  1012.  
  1013. If you wish to process the data file on the disk, you must
  1014. use this option first.  Most other options work from the
  1015. in-memory copy of the file on disk.  This option checks the
  1016. amount of memory you have installed and limits the size of
  1017. what you can read in accordingly.  A message is displayed if
  1018. the entire file cannot be read in.  After selecting this
  1019. option, you will be asked to specify the search argument for
  1020. reading in data.  If you press the enter key you will select
  1021. all files, otherwise you may specify a subset - such as all
  1022. your Basic programs.  Information on how to specify the
  1023. subset will be given later.  If you have already read in a
  1024. file, you will be asked if you wish this new file appended
  1025. to the end of the current file in storage.  If you don't
  1026. choose to have it appended, it will replace the current file
  1027. in storage.
  1028.  
  1029.  
  1030. HOW TO OPERATE - MAIN MENU                                11
  1031.  
  1032.  
  1033.  
  1034.                 XDIR VERSION 5.6 Page     12
  1035.  
  1036.  
  1037. GE3. WRITE FILE TO DISKHF
  1038.  
  1039.  
  1040. The contents of the memory array is written back to the
  1041. master file on the disk erasing the previous contents.  If
  1042. you had wanted to preserve the old contents of the file, you
  1043. could use the option to change the master file name and then
  1044. use this option.  This would create a new file and write out
  1045. the array to it.  You must first be sure that there is
  1046. enough room on the diskette to store the new data.  You will
  1047. be warned if a subset of files had been read in and you try
  1048. to write them out.  This requires a second response to
  1049. perform the write.
  1050.  
  1051.  
  1052.  
  1053. GE4. CHANGE MASTER FILE NAMEHF
  1054.  
  1055.  
  1056. This will allow you to change the current filename being
  1057. used by the program.  It will display all master files which
  1058. you have on the default diskette, then ask you to choose one
  1059. of them or a new one.  Any future reading or writing of
  1060. files will be done with this filename.
  1061.  
  1062.  
  1063.  
  1064. GE5. DELETE DISKID FROM FILEHF
  1065.  
  1066.  
  1067. This option will read in the file into memory and remove
  1068. those diskids which match the diskids you specify as those
  1069. to be deleted.  If files are currently residing in memory,
  1070. you will be warned and given an opportunity to cancel.
  1071.  
  1072.  
  1073.  
  1074. GE6. EDIT COMMENT FIELDSHF
  1075.  
  1076.  
  1077. As mentioned earlier there is a 28 character user
  1078. specifiable comment field contained in the file.  This field
  1079. is entered and edited with this option.  It is maintained by
  1080. the other options and become part of your file.  It can be
  1081. displayed either on your screen or the printer.  More
  1082. details for the editor will be given later in this document.
  1083. This option also allows for editing the DISKID field as
  1084. well.
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094. HOW TO OPERATE - MAIN MENU                                12
  1095.  
  1096.  
  1097.  
  1098.                 XDIR VERSION 5.6 Page     13
  1099.  
  1100.  
  1101. GE7. REPLACE/ADD DISKETTEHF
  1102.  
  1103.  
  1104. This works similarly to the Delete diskette option in that
  1105. it reads the file into memory.  However, after reading it in
  1106. it asks you to put your replacement diskette in the
  1107. cataloging drive and press Enter.  The directory information
  1108. is read from the diskette.  All files which were on the old
  1109. version of this diskette (as indicated by the in-memory
  1110. file) -and- the new version will have the size and date
  1111. updated thus saving the comments.  Any file on the old
  1112. version and -not- on the new version will be discarded.  Any
  1113. file on the new but not on the old will be written out to
  1114. the file.  The file will be read in to memory once at the
  1115. beginning of this option.  It will be written out at the end
  1116. after all the Add/Replaces have been done.  An indicator of
  1117. how many records will reside in the file at completion of
  1118. this option is shown on the screen.  If the diskette you
  1119. insert cannot be read or if you leave the drive door open,
  1120. you will be warned and given an opportunity to create a
  1121. dummy label and comment for the diskette.  This is a handy
  1122. way to label those diskettes which cannot be read.  Please
  1123. note that you should be careful and not Replace the same
  1124. diskette twice as the new files will be added twice.
  1125.  
  1126.  
  1127.  
  1128. GE8. SORT OPTIONSHF
  1129.  
  1130.  
  1131. Typing this number will cause a new menu to appear.  This
  1132. new menu will be described later on in this write-up.
  1133.  
  1134.  
  1135.  
  1136. GE9. DISPLAY OPTIONSHF
  1137.  
  1138.  
  1139. This option will also cause another menu to appear giving
  1140. all the options for displaying/printing.
  1141.  
  1142.  
  1143.  
  1144. GEA. MISCELLANEOUS OPTIONSHF
  1145.  
  1146.  
  1147. This option will select the menu which allows master files
  1148. to be checked on the default drive and check/change labels
  1149. on the diskettes in the cataloging drive.
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158. HOW TO OPERATE - MAIN MENU                                13
  1159.  
  1160.  
  1161.  
  1162.                 XDIR VERSION 5.6 Page     14
  1163.  
  1164.  
  1165. GED. EXECUTE DOS COMMANDSHF
  1166.  
  1167.  
  1168. If you have more than 128K of memory on your PC, you may
  1169. make use of this option to execute DOS commands while
  1170. staying in XDIR.  This can be useful to do a DIR, or CHKDSK,
  1171. or any other DOS command.  You could, for example, run PE
  1172. under XDIR.
  1173.  
  1174. You will need to have COMMAND.COM on the default drive.
  1175. This COMMAND.COM will have to have a patch applied to it if
  1176. it is from DOS 2.0.  DOS 2.1 does not need this patch.  Boca
  1177. has agreed that DOS function 4B does not work with the
  1178. released 2.0 COMMAND.COM and has supplied a patch.  This
  1179. patched COMMAND.COM should be used in place of the one you
  1180. are currently using on all your disks.  The patch follows as
  1181. Figure  1  on page 15.
  1182.  
  1183. ┌──────────────────────────────────────────────────────────┐
  1184. │DEBUG command.com                                         │
  1185. │-U 404A                                                   │
  1186. │                                                          │
  1187. │The first instructions should be:                         │
  1188. │     MOV ES,BX                                             │
  1189. │     SS:                                                   │
  1190. │     LES BX,[0BB3]                                         │
  1191. │     ES:                                                   │
  1192. │     MOV [0030],ES                                         │
  1193. │     ES:                                                   │
  1194. │     MOV [002E],BX                                         │
  1195. │   To patch this enter:                                    │
  1196. │   -A 404A                                                 │
  1197. │   PUSH DS                                                 │
  1198. │   MOV DS,BX                                               │
  1199. │   SS:                                                     │
  1200. │   LES BX,[0BB3]                                           │
  1201. │   MOV [0030],ES                                           │
  1202. │   MOV [002E],BX                                           │
  1203. │   POP DS                                                  │
  1204. │   (press the ENTER key to terminate ASSEMBLE mode)        │
  1205. │   -W                                                      │
  1206. │   -Q                                                      │
  1207. │                                                          │
  1208. │Figure  1. DOS  2.0 patch for COMMAND.COM                 │
  1209. └──────────────────────────────────────────────────────────┘
  1210.  
  1211.  
  1212.  
  1213. GEH. PROCESS FIXED DISK FILEHF
  1214.  
  1215.  
  1216. XDIR will process your fixed disk files and create a
  1217. separate file for each fixed disk that you have.  If space
  1218. permits you may merge them into one file through use of the
  1219. "Read File" command.  The fixed disk is first processed with
  1220.  
  1221.  
  1222. HOW TO OPERATE - MAIN MENU                                14
  1223.  
  1224.  
  1225.  
  1226.                 XDIR VERSION 5.6 Page     15
  1227.  
  1228.  
  1229. the CHKDSK DOS command and the output of that is input to
  1230. XDIR.
  1231.  
  1232. The resulting listing will have the fixed disk volume name
  1233. as the diskette id and the path to the file will be put into
  1234. the comment field.  You may then sort on the comment field
  1235. to get them in order by sub-directory.
  1236.  
  1237. The procedure to do this follows.  If your storage size
  1238. permits, you may run all these commands under the DOS
  1239. command option of XDIR:
  1240.  
  1241. 1.  Execute the following command: CHKDSK d:\/v >chkdsk.fil
  1242.     where the d: is the fixed disk you wish to process.
  1243.  
  1244. 2.  This will create a file CHKDSK.FIL with the output of
  1245.     the CHKDSK command.
  1246.  
  1247. 3.  Run XDIR in the usual way selecting option H on the main
  1248.     menu.  The fixed disk will be processed.
  1249.  
  1250. 4.  Repeat this for your other fixed disk if you have one.
  1251.  
  1252.  
  1253.  
  1254. GEESCHF
  1255.  
  1256.  
  1257. Pressing this key will cause the program to terminate.  If
  1258. any editing was done without saving, the program will warn
  1259. you and give you an opportunity to cancel termination.
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286. HOW TO OPERATE - MAIN MENU                                15
  1287.  
  1288.  
  1289.  
  1290.                 XDIR VERSION 5.6 Page     16
  1291.  
  1292.  
  1293. GE-HOW TO OPERATE - SORT MENUHF-
  1294.  
  1295.  
  1296.  
  1297. When you select the Sort options from the main menu, another
  1298. menu will be displayed offering you the following options:
  1299.  
  1300.  
  1301.  
  1302. GE1. SORT BY FILENAME,SIZE,DATE,IDHF
  1303.  
  1304.  
  1305. This option sorts the in memory file in the indicated order.
  1306. A message is displayed to indicate that a sort is being
  1307. done.  With 700 records to sort,it can take 20-30 seconds,
  1308. so please be patient.
  1309.  
  1310.  
  1311.  
  1312. GE2. SORT BY FILE EXTENSION,FILE NAME,SIZE,DATE,IDHF
  1313.  
  1314.  
  1315. This option sorts the same as option 1 but the extension is
  1316. the primary field.
  1317.  
  1318.  
  1319.  
  1320. GE3. SORT BY DISKID THEN FILENAMEHF
  1321.  
  1322.  
  1323. Same as option 1 but sorted as indicated.  This sort is
  1324. quicker due to fewer fields being checked.  It can take up
  1325. to 15 seconds to sort 700 records.
  1326.  
  1327.  
  1328.  
  1329. GE4. SORT BY LAST DATE MODIFIEDHF
  1330.  
  1331.  
  1332. Same as above except for the different sort field.
  1333.  
  1334.  
  1335.  
  1336. GE5. SORT ON COMMENT FIELDHF
  1337.  
  1338.  
  1339. Sometimes it may be useful to have the data sorted by
  1340. comment field.  You may wish to use some special coding for
  1341. the first few characters of the comments so that this sort
  1342. will be more useful to you.  If comments are equal than a
  1343. secondary sort is done on filename, file extension.
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350. HOW TO OPERATE - SORT MENU                                16
  1351.  
  1352.  
  1353.  
  1354.                 XDIR VERSION 5.6 Page     17
  1355.  
  1356.  
  1357. GE6. SORT DISKETTE SPACE SUMMARYHF
  1358.  
  1359.  
  1360. This sort will put the space summary records in order by
  1361. diskid.  This is extremely quick and therefore no sorting
  1362. message is put on the screen.
  1363.  
  1364.  
  1365.  
  1366. GE9. DISPLAY OPTIONSHF
  1367.  
  1368.  
  1369. This option will take you to the Display options sub-menu.
  1370.  
  1371.  
  1372.  
  1373. GEA. MISCELLANEOUS OPTIONSHF
  1374.  
  1375.  
  1376. This goes directly to the Miscellaneous options menu.
  1377.  
  1378.  
  1379.  
  1380. GEESCHF
  1381.  
  1382.  
  1383. Pressing this key will return you to the main menu.
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414. HOW TO OPERATE - SORT MENU                                17
  1415.  
  1416.  
  1417.  
  1418.                 XDIR VERSION 5.6 Page     18
  1419.  
  1420.  
  1421. GE-HOW TO OPERATE - DISPLAY MENUHF-
  1422.  
  1423.  
  1424.  
  1425. When the Display option is selected on the main menu,
  1426. another menu will be displayed offering many choices as
  1427. described below:
  1428.  
  1429.  
  1430.  
  1431. GE1. DISPLAY RECORDSHF
  1432.  
  1433.  
  1434. The contents of the array are displayed on the screen.  The
  1435. GPgUp Hand GPgDn Hkeys will be used to scroll through the data
  1436. shown on the screen.  The GEsc Hkey is used to return to the
  1437. menu.
  1438.  
  1439.  
  1440.  
  1441. GE2. PRINT RECORDSHF
  1442.  
  1443.  
  1444. This option displays the same information as option 1 but
  1445. the information may either be printed on the IBM 80cps
  1446. printer or put into a file.  The option will prompt you for
  1447. the filename to be used for the printout.  The default is
  1448. preset to Gprn Hbut may be changed to any file desired.  This
  1449. may be useful if you are using a different file number for
  1450. your printer or wish to store this output in a file for use
  1451. by some other program.  Printer control characters are only
  1452. included if you leave the file as Gprn H, Glpt1 H, Glpt2 H, or
  1453. Glpt3 H.
  1454.  
  1455.  
  1456.  
  1457. GE3. DISPLAY DISKETTE SPACE SUMMARYHF
  1458.  
  1459.  
  1460. The information for the amount of space left on the disks
  1461. contained in the master file is displayed on the screen.
  1462. The same options exist here as exist for option 1.
  1463.  
  1464.  
  1465.  
  1466. GE4. PRINT DISKETTE SPACE SUMMARYHF
  1467.  
  1468.  
  1469. Same as above but the information is the space summary for
  1470. the diskettes.
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478. HOW TO OPERATE - DISPLAY MENU                             18
  1479.  
  1480.  
  1481.  
  1482.                 XDIR VERSION 5.6 Page     19
  1483.  
  1484.  
  1485. GE5. PRINT DISKETTE INSERTSHF
  1486.  
  1487.  
  1488. You may select this option to print inserts for your
  1489. diskette envelopes.  These will be of the correct size to
  1490. just fit in the envelope with the part sticking out having
  1491. the diskette id printed in double width style and also the
  1492. date that the master file was last updated.  Also included
  1493. on this insert is the amount of space remaining on the
  1494. diskette and all the files listed in alphabetical order
  1495. listed 5 across in condensed type.  If you have not sorted
  1496. the memory array by diskid, this option will do it for you.
  1497. You will be asked if you wish to be prompted for individual
  1498. inserts or if you wish all printed.
  1499.  
  1500.  
  1501.  
  1502. GE6. CHANGE LINES PER PAGEHF
  1503.  
  1504.  
  1505. The default is 60 lines which is shown on the display
  1506. options menu.  This will fit on the normal 8 1/2 X 11 paper
  1507. used on the IBM printer.  If you wish a different number of
  1508. lines/page, use this option.  If you set the lines/page to G0
  1509. H, then continuous printing will take place with no page
  1510. skips and header printing.  This last method can be very
  1511. useful if you are printing to a file and want to upload to a
  1512. mainframe computer and use a text processor such as SCRIPT
  1513. to do your printing.
  1514.  
  1515.  
  1516.  
  1517. GE7. PRINT DISKETTE LABELSHF
  1518.  
  1519.  
  1520. This option will print a label of size 3 1/2 inches by 15/16
  1521. inches.  Test labels will be printed first to aid in lining
  1522. up the labels, then either individual labels may be selected
  1523. or all labels may be selected.  These labels contain similar
  1524. information to the inserts - they tell the diskette ID, the
  1525. date of last modification of the master file, and the space
  1526. available on the diskette.  There is then room for 50
  1527. filenames.  No extensions are listed and no duplicate
  1528. filenames are included.  They are listed alphabetically on
  1529. the label.  The type style used is compressed sub script
  1530. which is small but quite readable.
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542. HOW TO OPERATE - DISPLAY MENU                             19
  1543.  
  1544.  
  1545.  
  1546.                 XDIR VERSION 5.6 Page     20
  1547.  
  1548.  
  1549. GE0. CHANGE LABEL SPACINGHF
  1550.  
  1551.  
  1552. This option allows you to adjust the label printing for
  1553. labels which are spaced more that 1 inch top-to-top.  It may
  1554. take some experimentation to get this number right.
  1555.  
  1556.  
  1557.  
  1558. GE8. SORT OPTIONSHF
  1559.  
  1560.  
  1561. Selecting this option will take you to the Sort options
  1562. sub-menu.
  1563.  
  1564.  
  1565.  
  1566. GEA. MISCELLANEOUS OPTIONSHF
  1567.  
  1568.  
  1569. This will take you directly to the miscellaneous options
  1570. menu.
  1571.  
  1572.  
  1573.  
  1574. GEC. WRITE CONTENTS FILEHF
  1575.  
  1576.  
  1577. This will create a file called GCONTENTS Hon the cataloging
  1578. drive which will contain the contents of the diskette as
  1579. specified in the current XDIR data file.  You will be warned
  1580. if a contents file already exists and given an opportunity
  1581. to cancel.
  1582.  
  1583.  
  1584.  
  1585. GEESCHF
  1586.  
  1587.  
  1588. Pressing this key will return you to the main menu.
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606. HOW TO OPERATE - DISPLAY MENU                             20
  1607.  
  1608.  
  1609.  
  1610.                 XDIR VERSION 5.6 Page     21
  1611.  
  1612.  
  1613. GE-HOW TO OPERATE - MISCELLANEOUS OPTIONS MENUHF-
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620. GE1. DISPLAY MASTER FILES ON DEFAULT DISKETTEHF
  1621.  
  1622.  
  1623. This option will access the default diskette drive and
  1624. display the filenames of those files whose extension is GDAT
  1625. H.
  1626.  
  1627.  
  1628.  
  1629. GE2. LABEL A DISKETTEHF
  1630.  
  1631.  
  1632. The cataloging drive is checked for a label and if one is
  1633. present, you may rename it.  If none is present it will
  1634. allow you to label it.  DOS 2.0 volume labels will be
  1635. created.
  1636.  
  1637.  
  1638.  
  1639. GE3. CHECK LABEL WITH RENAME OPTIONHF
  1640.  
  1641.  
  1642. This option will check for a label and if present allow you
  1643. to rename it.
  1644.  
  1645.  
  1646.  
  1647. GE4. CHANGE CATALOGING DRIVEHF
  1648.  
  1649.  
  1650. This option will allow you to change the drive which will be
  1651. used by the Create or Add/Replace options.  The default is
  1652. B:.
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670. HOW TO OPERATE - MISCELLANEOUS OPTIONS MENU               21
  1671.  
  1672.  
  1673.  
  1674.                 XDIR VERSION 5.6 Page     22
  1675.  
  1676.  
  1677. GE-HOW TO OPERATE - CREATE MENUHF-
  1678.  
  1679.  
  1680.  
  1681. This menu displays an audit trail of the last diskids that
  1682. were processed.  The most recent one is shown in high
  1683. intensity.  It is a circular list.  All data entry is done
  1684. on this menu.  The status of automatic labeling is shown.
  1685.  
  1686. There are 3 options on this menu.
  1687.  
  1688.  
  1689.  
  1690.  
  1691. GEF1. REDRAW SCREENHF
  1692.  
  1693.  
  1694. Will redraw the screen.  This is useful if you are using
  1695. automatic diskid labeling and you mistakenly left the
  1696. write-protect tab on.  This is explained below.  This option
  1697. will clear the screen of any error messages.  It will also
  1698. remove the audit trail of diskids already processed.
  1699.  
  1700.  
  1701.  
  1702. GEF2. TOGGLE DISKID LABELLING MODEHF
  1703.  
  1704.  
  1705. This toggles the automatic diskette labeling mode.  If this
  1706. mode is on and your current diskette has no label, one will
  1707. be written to your diskette.  This will be written as a DOS
  1708. 2.0 volume label and will not be visible as a file but will
  1709. be recognized by the DIR command, etc.  Since a directory
  1710. entry is written to your diskette, the write-protect tab
  1711. should be removed if you turn the option on.  If you forget,
  1712. DOS will present you with the usual error message to
  1713. GAbort,Retry , or Ignore the error H.  I would not suggest
  1714. Aborting as your program will terminate.  If you chose
  1715. GIgnore H, the program will continue without writing the
  1716. label.  If you remove the tab and reinsert the diskette, you
  1717. may choose the GRetry Hoption.  These error messages will
  1718. remain on the screen.  If you wish to clear up the screen
  1719. use the GF1 Hkey.  This will redraw the screen, but -remove the
  1720. --audit trail.
  1721.  
  1722.  
  1723.  
  1724. -GEESCHF
  1725.  
  1726.  
  1727. Will return you to the master menu.
  1728.  
  1729. You should note that if you leave the disk drive door open
  1730. or if the diskette is not readable by DOS, you will be
  1731. prompted to see if you wish to create a dummy label in the
  1732.  
  1733.  
  1734. HOW TO OPERATE - CREATE MENU                              22
  1735.  
  1736.  
  1737.  
  1738.                 XDIR VERSION 5.6 Page     23
  1739.  
  1740.  
  1741. file for this diskette.  This can be useful to keep track of
  1742. the copy-protected game diskettes you may have.  You don't
  1743. actually have to put the diskette into the drive.  Just
  1744. leave the door open and press the GENTER Hkey.
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750.  
  1751.  
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798. HOW TO OPERATE - CREATE MENU                              23
  1799.  
  1800.  
  1801.  
  1802.                 XDIR VERSION 5.6 Page     24
  1803.  
  1804.  
  1805. GE-REFERENCE MATERIALHF-
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812. GESPECIFYING SUBSET WHEN READING FROM FILEHF
  1813.  
  1814.  
  1815. When you enter option 2 you will be prompted to enter the
  1816. search parameter for which data you wish read in from the
  1817. file.  If you press the enter key without typing anything,
  1818. the entire file is selected for processing.  If you enter
  1819. any parameter, only a subset of the file will be read in.
  1820. This subset may be selected in a manner similar to the
  1821. syntax for the DOS GDIR Hcommand.  For example:
  1822.  
  1823. If you enter G*.BAS Has the argument you will get only those
  1824. files which have an extension of GBAS H.  If you had entered
  1825. GABC*.* Hyou will get a subset consisting of all files
  1826. beginning with GABC Hand with any extension.  You may also
  1827. make use of the ?  wildcard allowed by DOS DIR.  If you want
  1828. all files selected which have an extension of GXYZ Hand have a
  1829. G4 Hcharacter filename beginning with GQ Hyou would enter
  1830. GQ???.XYZ Has the argument.
  1831.  
  1832.  
  1833.  
  1834. GEEXPLANATION OF EDITOR COMMANDSHF
  1835.  
  1836.  
  1837. The editor screen has been designed to give you a partial
  1838. look at how the particular entry you are editing fits in
  1839. with the others in the file.  You will see 17 files on the
  1840. screen with the input area indicated in reverse video.  This
  1841. input area is scrolled up and down on the screen.  The data
  1842. will be scrolled if the input area is at the top or bottom
  1843. of the screen.
  1844.  
  1845. In the upper right corner is an indicator which tells you
  1846. which record, by number, you are editing and how many total
  1847. there are in the file.
  1848.  
  1849. At the bottom of the screen is a list of all the commands
  1850. and keys which are valid for the editor.  These commands are
  1851. explained below:
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861.  
  1862. REFERENCE MATERIAL                                        24
  1863.  
  1864.  
  1865.  
  1866.                 XDIR VERSION 5.6 Page     25
  1867.  
  1868.  
  1869. GE-(up arrow)HF-
  1870.  
  1871.  
  1872. Pressing this key will move the editing field one row toward
  1873. the top of the screen.  If you try to scroll past the top of
  1874. the file you will hear a beep.  Note that the cursor stays
  1875. in the same column.
  1876.  
  1877.  
  1878.  
  1879. GE-(down arrow)HF-
  1880.  
  1881.  
  1882. Same as above but the active entry will be the next lower
  1883. one in the file.
  1884.  
  1885.  
  1886.  
  1887. GE-(right arrow)HF-
  1888.  
  1889.  
  1890. The cursor is moved one position right on the comment field.
  1891. If the cursor reaches the end of the comment field, it will
  1892. automatically recycle back to the beginning of the field.
  1893.  
  1894.  
  1895.  
  1896. GE-(left arrow)HF-
  1897.  
  1898.  
  1899. Same as above but the cursor moves to the left.  If the
  1900. cursor moves to the left out of the comment field it cycles
  1901. back to the end of the comment field.
  1902.  
  1903.  
  1904.  
  1905. GE-(TAB Key)HF-
  1906.  
  1907.  
  1908. Pressing this key moves to the next tab stop which is every
  1909. 10 spaces in the comment field.  It is ignored if you are
  1910. editing the DISKID field.
  1911.  
  1912.  
  1913.  
  1914. GE-(S-TAB)HF-
  1915.  
  1916.  
  1917. This function is accomplished by pressing the Shift key and
  1918. holding it while you press the Tab key.  This moves the
  1919. cursor back to the previous tab stop.
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926. REFERENCE MATERIAL                                        25
  1927.  
  1928.  
  1929.  
  1930.                 XDIR VERSION 5.6 Page     26
  1931.  
  1932.  
  1933. GE-PgUpHF-
  1934.  
  1935.  
  1936. When you select this command, the input area will be
  1937. scrolled toward the top of the file by 9 records.
  1938.  
  1939.  
  1940.  
  1941. GE-PgDnHF-
  1942.  
  1943.  
  1944. Similar to the above function but the display will be
  1945. scrolled toward the bottom by 9 records.
  1946.  
  1947.  
  1948.  
  1949. GE-ENTERHF-
  1950.  
  1951.  
  1952. Pressing the ENTER key will perform the same function as the
  1953. down arrow - moving the input area 1 record down toward the
  1954. end of the file.
  1955.  
  1956.  
  1957.  
  1958. GE-Alt-CHF-
  1959.  
  1960.  
  1961. Hold the GAlt Hkey while pressing the GC Hkey.  This will bring
  1962. back the old field from the file in memory.  This will only
  1963. work if you have not yet pressed any of the keys which move
  1964. the input area on the display.
  1965.  
  1966.  
  1967.  
  1968. GE-EscHF-
  1969.  
  1970.  
  1971. Pressing this key will return you to the main menu.  Any
  1972. data entered in the editor is retained in the in-storage
  1973. array.
  1974.  
  1975.  
  1976.  
  1977. GE-C-PgUpHF-
  1978.  
  1979.  
  1980. Hold the GCtrl Hkey while pressing the GPgUp Hkey.  This moves
  1981. the input area to the top of the file.
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990. REFERENCE MATERIAL                                        26
  1991.  
  1992.  
  1993.  
  1994.                 XDIR VERSION 5.6 Page     27
  1995.  
  1996.  
  1997. GE-C-PgDnHF-
  1998.  
  1999.  
  2000. The input area is moved to the end of the file.
  2001.  
  2002.  
  2003.  
  2004. GE-BKSPCHF-
  2005.  
  2006.  
  2007. This is the key to the left of the Num Lock key and is
  2008. labeled with a left pointing arrow.  This works by deleting
  2009. the character to the left of the cursor and shifting
  2010. everything to the left 1.
  2011.  
  2012.  
  2013.  
  2014. GE-DelHF-
  2015.  
  2016.  
  2017. The character at the cursor position is deleted.
  2018.  
  2019.  
  2020.  
  2021. GE-InsHF-
  2022.  
  2023.  
  2024. Pressing the Insert key will put the editor in insert mode.
  2025. The GIns Hat the bottom of the screen will blink indicating
  2026. that Insert mode is active.  Characters will be inserted at
  2027. the cursor location and other characters will be shifted to
  2028. the right.  If there is no more room for inserting, the
  2029. speaker will beep.
  2030.  
  2031.  
  2032.  
  2033. GE-Alt-SHF-
  2034.  
  2035.  
  2036. Hold the GAlt Hkey and press the GS Hkey and the in-storage file
  2037. will be written back to diskette.
  2038.  
  2039.  
  2040.  
  2041. GE-HomeHF-
  2042.  
  2043.  
  2044. This key will move the cursor back to the beginning of the
  2045. field.
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054. REFERENCE MATERIAL                                        27
  2055.  
  2056.  
  2057.  
  2058.                 XDIR VERSION 5.6 Page     28
  2059.  
  2060.  
  2061. GE-EndHF-
  2062.  
  2063.  
  2064. This key will position the cursor one character past the end
  2065. of the current length of the field.
  2066.  
  2067.  
  2068.  
  2069. GE-Alt-THF-
  2070.  
  2071.  
  2072. This key will toggle you into the DISKID field for editing.
  2073. Any changes will automatically be folded to uppercase.  They
  2074. won't appear that way on the screen at first, but when the
  2075. screen is refreshed by scrolling you will see them.  If you
  2076. have lower case diskids from an earlier version of XDIR,
  2077. just moving the cursor over the field will fold them to
  2078. uppercase.
  2079.  
  2080.  
  2081.  
  2082. GE-Alt-XHF-
  2083.  
  2084.  
  2085. This will allow you to cause a particular record to be
  2086. deleted upon writing out the file the next time.  Put the
  2087. cursor on the line that you wish to delete, then press this
  2088. key and the diskid will be changed to *DELETE* signifying
  2089. that it will be deleted the next time the file is written.
  2090. If you change your mind before writing out the file, just
  2091. press the key again and the delete will be cancelled.  You
  2092. may delete as many files as you wish in this manner.
  2093.  
  2094.  
  2095.  
  2096. GEUSING PC-FILE WITH XDIR DATA FILESHF
  2097.  
  2098.  
  2099. It is relatively easy to take an XDIR data file and make it
  2100. acceptable to PC-FILE.  You could then use all the extensive
  2101. facilities of that database program to access your data.
  2102. You might want to print out some special format for a
  2103. report.
  2104.  
  2105. In the write-up below I will be using "fname" as a place
  2106. holder for your XDIR filename, please substitute your
  2107. appropriate name
  2108.  
  2109. Steps to follow to get an XDIR fname.dat file into PC-FILE:
  2110.  
  2111. 1.  Execute PC-FILE and define a new file called fname with
  2112.     the following format:
  2113.  
  2114.     filename  8 characters
  2115.     ext       3 characters
  2116.  
  2117.  
  2118. REFERENCE MATERIAL                                        28
  2119.  
  2120.  
  2121.  
  2122.                 XDIR VERSION 5.6 Page     29
  2123.  
  2124.  
  2125.     id        8 characters
  2126.     date      6 characters
  2127.     size      7 characters
  2128.     comment  28 characters
  2129.     x         1 character
  2130.  
  2131. 2.  Exit PC-FILE and do the following DOS command - copy
  2132.     fname.dat fname.dta
  2133.  
  2134. 3.  Run the BASIC program as shown in Figure  2  on page 30.
  2135.     When the filename is requested, enter "fname.dta".  This
  2136.     will add the special characters to the end of the file
  2137.     to keep PC-FILE happy.
  2138.  
  2139. 4.  Execute PC-FILE again and select the SORT option and
  2140.     sort by any field you choose.  This will create the
  2141.     index needed by PC-FILE.
  2142.  
  2143. 5.  You are now on your own in PC-FILE.  The full power of
  2144.     PC-FILE is now at your command.
  2145.  
  2146. ┌──────────────────────────────────────────────────────────┐
  2147. │10 INPUT "Enter the filespec:",F$                         │
  2148. │20 OPEN F$ FOR APPEND AS #1                               │
  2149. │30 PRINT#1,STRING$(61,"\")                                │
  2150. │40 CLOSE                                                  │
  2151. │                                                          │
  2152. │Figure  2. BASIC  program to prepare XDIR dat file for    │
  2153. │PC-FILE                                                   │
  2154. └──────────────────────────────────────────────────────────┘
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182. REFERENCE MATERIAL                                        29
  2183. A CB
  2184.